import { reactive } from 'vue';

export function usePager(
  state = {
    pageNum: 1,
    pageTotal: 0,
    pageSize: 3,
    pageLoading: false,
  },
) {
  const pageInfo = reactive(state);

  return {
    pageInfo,
  };
}
